package jmir.adrian.empresa;

public abstract class Empleat {

	private String nom;
	private String cognom;
	private String DNI;

	public Empleat(String nom, String cognom, String DNI) {
		
		super();
		this.nom = nom;
		this.cognom = cognom;
		this.DNI = DNI;
	}
	
	/**metode que retorna el sou d'aquest empleat per fer el total de sous**/
	public abstract double calculaSouTotal();


	@Override
	public String toString() {
		return "Nom = "+nom +" "+cognom+"\nDNI = "+DNI+"\n";
	}
	
}
